import type { OptionsType } from "@/components/ReSegmented";
interface TaskOptionType {
  label: string;
  value: string;
}
export const taskTypeOptions: Array<TaskOptionType> = [
  {
    label: "SH脚本",
    value: "shhscript"
  },
  {
    label: "URL请求",
    value: "http"
  }
];

export const roleOptions: Array<OptionsType> = [
  {
    label: "root",
    value: "root"
  },
  {
    label: "www",
    value: "www"
  }
];

export const triggerTypeOptions: Array<OptionsType> = [
  {
    label: "间隔秒",
    value: "interval"
  },
  {
    label: "间隔分钟",
    value: "intervalminute"
  },
  {
    label: "间隔小时",
    value: "intervalhour"
  },
  {
    label: "每天",
    value: "everyday"
  },
  {
    label: "每周",
    value: "everyweek"
  },
  {
    label: "每2周",
    value: "every2week"
  },
  {
    label: "每月",
    value: "everymonth"
  }
];
